package com.ruoyi.workflow.dto;

import lombok.Data;

@Data
public class TaskApprovalContext {
    public boolean isApprover;
    public String matchedNodeName;
    public String matchedAssignee;
    public String matchedTaskId;
    public String processId;

    public TaskApprovalContext(boolean isApprover, String matchedNodeName, String matchedAssignee, String matchedTaskId) {
        this.isApprover = isApprover;
        this.matchedNodeName = matchedNodeName;
        this.matchedAssignee = matchedAssignee;
        this.matchedTaskId = matchedTaskId;
        this.processId = processId;
    }
}
